package com.yuanqunsoft.alimigration.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Remediation entity. @author MyEclipse Persistence Tools
 */

public class Remediation implements java.io.Serializable {

    // Fields

    private Integer remId;
    private Rule rule;
    private String remName;
    private String remText;
    private String remDescription;
    private String remCode;
    private Short remIncludeEffort;
    private Integer remFirstAlerts;
    private Float remFirstDaysEach;
    private Integer remNextAlerts;
    private Float remNextDaysEach;
    private Float remAllFurtherDaysEach;
    private Set rules = new HashSet(0);

    // Constructors

    /** default constructor */
    public Remediation() {
    }

    /** minimal constructor */
    public Remediation(String remName, String remText, String remDescription, String remCode,
            Short remIncludeEffort, Integer remFirstAlerts, Float remFirstDaysEach, Integer remNextAlerts,
            Float remNextDaysEach, Float remAllFurtherDaysEach) {
        this.remName = remName;
        this.remText = remText;
        this.remDescription = remDescription;
        this.remCode = remCode;
        this.remIncludeEffort = remIncludeEffort;
        this.remFirstAlerts = remFirstAlerts;
        this.remFirstDaysEach = remFirstDaysEach;
        this.remNextAlerts = remNextAlerts;
        this.remNextDaysEach = remNextDaysEach;
        this.remAllFurtherDaysEach = remAllFurtherDaysEach;
    }

    /** full constructor */
    public Remediation(Rule rule, String remName, String remText, String remDescription, String remCode,
            Short remIncludeEffort, Integer remFirstAlerts, Float remFirstDaysEach, Integer remNextAlerts,
            Float remNextDaysEach, Float remAllFurtherDaysEach, Set rules) {
        this.rule = rule;
        this.remName = remName;
        this.remText = remText;
        this.remDescription = remDescription;
        this.remCode = remCode;
        this.remIncludeEffort = remIncludeEffort;
        this.remFirstAlerts = remFirstAlerts;
        this.remFirstDaysEach = remFirstDaysEach;
        this.remNextAlerts = remNextAlerts;
        this.remNextDaysEach = remNextDaysEach;
        this.remAllFurtherDaysEach = remAllFurtherDaysEach;
        this.rules = rules;
    }

    // Property accessors

    public Integer getRemId() {
        return this.remId;
    }

    public void setRemId(Integer remId) {
        this.remId = remId;
    }

    public Rule getRule() {
        return this.rule;
    }

    public void setRule(Rule rule) {
        this.rule = rule;
    }

    public String getRemName() {
        return this.remName;
    }

    public void setRemName(String remName) {
        this.remName = remName;
    }

    public String getRemText() {
        return this.remText;
    }

    public void setRemText(String remText) {
        this.remText = remText;
    }

    public String getRemDescription() {
        return this.remDescription;
    }

    public void setRemDescription(String remDescription) {
        this.remDescription = remDescription;
    }

    public String getRemCode() {
        return this.remCode;
    }

    public void setRemCode(String remCode) {
        this.remCode = remCode;
    }

    public Short getRemIncludeEffort() {
        return this.remIncludeEffort;
    }

    public void setRemIncludeEffort(Short remIncludeEffort) {
        this.remIncludeEffort = remIncludeEffort;
    }

    public Integer getRemFirstAlerts() {
        return this.remFirstAlerts;
    }

    public void setRemFirstAlerts(Integer remFirstAlerts) {
        this.remFirstAlerts = remFirstAlerts;
    }

    public Float getRemFirstDaysEach() {
        return this.remFirstDaysEach;
    }

    public void setRemFirstDaysEach(Float remFirstDaysEach) {
        this.remFirstDaysEach = remFirstDaysEach;
    }

    public Integer getRemNextAlerts() {
        return this.remNextAlerts;
    }

    public void setRemNextAlerts(Integer remNextAlerts) {
        this.remNextAlerts = remNextAlerts;
    }

    public Float getRemNextDaysEach() {
        return this.remNextDaysEach;
    }

    public void setRemNextDaysEach(Float remNextDaysEach) {
        this.remNextDaysEach = remNextDaysEach;
    }

    public Float getRemAllFurtherDaysEach() {
        return this.remAllFurtherDaysEach;
    }

    public void setRemAllFurtherDaysEach(Float remAllFurtherDaysEach) {
        this.remAllFurtherDaysEach = remAllFurtherDaysEach;
    }

    public Set getRules() {
        return this.rules;
    }

    public void setRules(Set rules) {
        this.rules = rules;
    }

}